﻿using System;

namespace opentel.hub.data
{
    using SIPSorcery.SIP.App;
    internal struct SIPAccount : ISIPAccount
    {
        public string ID { get; set; }
        public string SIPUsername { get; set; }
        public string SIPPassword { get; set; }
        public string HA1Digest { get; set; }
        public string SIPDomain { get; set; }
        public bool IsDisabled { get; set; }
        public SIPAccount(string username, string domain)
        {
            ID = Guid.NewGuid().ToString();
            SIPUsername = username;
            SIPPassword = null;
            HA1Digest = null;
            SIPDomain = domain;
            IsDisabled = false;
        }
    }
}
